import request from '@/utils/request'

// 查询单水厂生产报列表
export function listDispatchSinglePlantProductionReports(query) {
  return request({
    url: '/system/dispatchSinglePlantProductionReports/list',
    method: 'get',
    params: query
  })
}

// 查询单水厂生产报详细
export function getDispatchSinglePlantProductionReports(singlePlantProductionReportsId) {
  return request({
    url: '/system/dispatchSinglePlantProductionReports/' + singlePlantProductionReportsId,
    method: 'get'
  })
}

// 新增单水厂生产报
export function addDispatchSinglePlantProductionReports(data) {
  return request({
    url: '/system/dispatchSinglePlantProductionReports',
    method: 'post',
    data: data
  })
}

// 修改单水厂生产报
export function updateDispatchSinglePlantProductionReports(data) {
  return request({
    url: '/system/dispatchSinglePlantProductionReports',
    method: 'put',
    data: data
  })
}

// 删除单水厂生产报
export function delDispatchSinglePlantProductionReports(singlePlantProductionReportsId) {
  return request({
    url: '/system/dispatchSinglePlantProductionReports/' + singlePlantProductionReportsId,
    method: 'delete'
  })
}
